﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using jade.content;

namespace GatewayUtil.agents.ontology
{
    public class WSRequest : AgentAction
    {
        private String methodName = null;
        private String serviceName = null;
        private String serviceURL = null;
        private jade.util.leap.ArrayList arguments = new jade.util.leap.ArrayList();

        public void setMethodName(String methodName)
        {
            this.methodName = methodName;
        }
        public String getMethodName()
        {
            return this.methodName;
        }

        public void setServiceName(String serviceName)
        {
            this.serviceName = serviceName;
        }
        public String getServiceName()
        {
            return this.serviceName;
        }

        public void setServiceURL(String serviceURL)
        {
            this.serviceURL = serviceURL;
        }
        public String getServiceURL()
        {
            return this.serviceURL;
        }


        public void addArguments(Object arg)
        {
            this.arguments.add(arg);
        }

        public jade.util.leap.Iterator getAllArguments()
        {
            return this.arguments.iterator();
        }
    }
}
